package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@MappingTable(tableName = "ERP_CAR_VALUATION")
public class CarValuation extends BaseObject {

	private static final long serialVersionUID = -8299585155158290302L;

	private Integer status;//0表示失败 1表示成功

	@MappingColumn(columnName = "VALUATION_ID", columnPk = true, columnLength = 32)
	private String valuationId;// 车辆估值ID

	@MappingColumn(columnName = "VALUATION_DEFAULT_CAR_CONDITION")
	private String valuationDefaultCarCondition;// 当前车型默认的车况，excellent 车况优秀，good 车况良好，normal 车况一般

	@MappingColumn(columnName = "VALUATION_CONDITION")
	private String valuationCondition;// 当前价格的车况，excellent 车况优秀，good 车况良好，normal 车况一般

	@MappingColumn(columnName = "VALUATION_DEALER_LOW_BUY_PRICE")
	private BigDecimal valuationDealerLowBuyPrice;// 最低车商收购价

	@MappingColumn(columnName = "VALUATION_DEALER_BUY_PRICE")
	private BigDecimal valuationDealerBuyPrice;// 车商收车价

	@MappingColumn(columnName = "VALUATION_INDIVIDUAL_LOW_SOLD_PRICE")
	private BigDecimal valuationIndividualLowSoldPrice;// 最低个人交易价（最高收购价）

	@MappingColumn(columnName = "VALUATION_INDIVIDUAL_PRICE")
	private BigDecimal valuationIndividualPrice;// 个人交易价

	@MappingColumn(columnName = "VALUATION_DEALER_LOW_SOLD_PRICE")
	private BigDecimal valuationDealerLowSoldPrice;// 最低车商零售价

	@MappingColumn(columnName = "VALUATION_DEALER_PRICE")
	private BigDecimal valuationDealerPrice;// 车商零售价

	@MappingColumn(columnName = "VALUATION_DEALER_HIGH_SOLD_PRICE")
	private BigDecimal valuationDealerHighSoldPrice;// 最高车商零售价

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@MappingColumn(columnName = "VALUATION_CREATE_TIME")
	private Date valuationCreateTime;// 创建时间

	@MappingColumn(columnName = "VALUATION_DETAIL_REPORT_URL")
	private String valuationDetailReportUrl;// 详细估值报告

	@MappingColumn(columnName = "VALUATION_FAIL_REASON")
	private String valuationFailReason;// 失败原因

	@MappingColumn(columnName = "CAR_ID")
	private String carId;// 车辆ID

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getValuationId() {
		return valuationId;
	}

	public void setValuationId(String valuationId) {
		this.valuationId = valuationId;
	}

	public String getValuationDefaultCarCondition() {
		return valuationDefaultCarCondition;
	}

	public void setValuationDefaultCarCondition(String valuationDefaultCarCondition) {
		this.valuationDefaultCarCondition = valuationDefaultCarCondition;
	}

	public String getValuationCondition() {
		return valuationCondition;
	}

	public void setValuationCondition(String valuationCondition) {
		this.valuationCondition = valuationCondition;
	}

	public BigDecimal getValuationDealerLowBuyPrice() {
		return valuationDealerLowBuyPrice;
	}

	public void setValuationDealerLowBuyPrice(BigDecimal valuationDealerLowBuyPrice) {
		this.valuationDealerLowBuyPrice = valuationDealerLowBuyPrice;
	}

	public BigDecimal getValuationDealerBuyPrice() {
		return valuationDealerBuyPrice;
	}

	public void setValuationDealerBuyPrice(BigDecimal valuationDealerBuyPrice) {
		this.valuationDealerBuyPrice = valuationDealerBuyPrice;
	}

	public BigDecimal getValuationIndividualLowSoldPrice() {
		return valuationIndividualLowSoldPrice;
	}

	public void setValuationIndividualLowSoldPrice(BigDecimal valuationIndividualLowSoldPrice) {
		this.valuationIndividualLowSoldPrice = valuationIndividualLowSoldPrice;
	}

	public BigDecimal getValuationIndividualPrice() {
		return valuationIndividualPrice;
	}

	public void setValuationIndividualPrice(BigDecimal valuationIndividualPrice) {
		this.valuationIndividualPrice = valuationIndividualPrice;
	}

	public BigDecimal getValuationDealerLowSoldPrice() {
		return valuationDealerLowSoldPrice;
	}

	public void setValuationDealerLowSoldPrice(BigDecimal valuationDealerLowSoldPrice) {
		this.valuationDealerLowSoldPrice = valuationDealerLowSoldPrice;
	}

	public BigDecimal getValuationDealerPrice() {
		return valuationDealerPrice;
	}

	public void setValuationDealerPrice(BigDecimal valuationDealerPrice) {
		this.valuationDealerPrice = valuationDealerPrice;
	}

	public BigDecimal getValuationDealerHighSoldPrice() {
		return valuationDealerHighSoldPrice;
	}

	public void setValuationDealerHighSoldPrice(BigDecimal valuationDealerHighSoldPrice) {
		this.valuationDealerHighSoldPrice = valuationDealerHighSoldPrice;
	}

	public Date getValuationCreateTime() {
		return valuationCreateTime;
	}

	public void setValuationCreateTime(Date valuationCreateTime) {
		this.valuationCreateTime = valuationCreateTime;
	}

	public String getValuationDetailReportUrl() {
		return valuationDetailReportUrl;
	}

	public void setValuationDetailReportUrl(String valuationDetailReportUrl) {
		this.valuationDetailReportUrl = valuationDetailReportUrl;
	}

	public String getValuationFailReason() {
		return valuationFailReason;
	}

	public void setValuationFailReason(String valuationFailReason) {
		this.valuationFailReason = valuationFailReason;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}
}
